delete files and move them to directory