Handle empty text files