Added $(filebase) variable substitution to XML parser.  Closes #89.