use File.exist? rather than exists?