File objects caching to remove performance bottleneck.