refactoring
expand macro variables in file paths