use File.exist? instead of File.exists?