fileProvider: change struct in order to slightly reduce stack usage.