init issue
storing dir and file names in pointers