adjusted root dir for file