Got rid of deprecated File.exists?