caching didn't work with binary files - fixed