datadir2fnames function

Generates vector of file names out of datadir input argument