edit depracated File.exists? to File.exist?