Memoize filenames