File.exists? is deprecated, use File.exist?