file reader handles empty date