add file cache helper