I forgot to add:

the path for the cfg files is

*workdir* \\data\\cfg\\ *filename*