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