relative file path function
function for getting slaveNames from slaveMap
functionality restored