Added file caching, and compresssion schemes