fix error with variable as file name
Merge pull request #1613 from maul-esel/fix-variable-include

fix error with variable as file name
Update history to reflect merge of #1613