getting filename for datafile in LoadData from pipeline