Use File.exist? instead of deprecated File.exists?