'root' is a link to the input file, not the cache file name