implement mileage file reader