Use File.exists? instead of handling exception