Bukkit/Bukkit — comment on commit 55f405f4a855fcf165e02379cae5bebc76c517d4
File:  line 0
By Dinnerbone:

Considering you'd have to pass a File argument, why wouldn't you just file.exists()?