Fixes 'warning: File.exists? is a deprecated name, use File.exist? instead'