found way of merging dierectories and file names