Stop using deprecated method in File

Changed File.exists? to File.exist? method