Corrected little bug when file has no data.