File.exists is deprecated for File.exist