put the path file in the right place