feature(files) add cache for jpeg