Adapt File Strategy

Maybe it could not improve the performance