#25: Fix the case when file is empty