1. Use code tags for enclosing the code in tags.
2. Why don't you try File.exists()?