Don't check for the file size twice.