How do you test if a file exists? in android I was hoping to have a similar extension to the file object in the windows exe version.