Simplify checking for empty file.