Add case for empty file