Change file pointer type to auto* in readers