fixed: Path substitution didn't work for files (only library items)