Moved EOF check to '`'s file grab