Handle empty file