Implemented assembleBasename() and assembleDirectory() methods for Tokens class.