added file cache

added file cache