use File.size? rather than File.exists?