Allow passing file caching path from outside