Not sure why currentFilePath wasn't a global.
add support for relative directory aliases