removes requirement that first column of pData is called dirname