use actual file names as cache keys

Closes #2