Use actual file names as cache keys

It is more natural to use filenames as cache keys and allows to use same filenames under different subfolders.