Now using same mechanism as datanode to generate full path