removing unused block argument
Used `File.exist?` in favor of `File.exists?`