files add to the right directory