File.size? should return the file size if it's exist and is > 0, see http://www.ruby-doc.org/core-1.9.3/File.html#method-c-size-3F