check for empty file.