Process files to move them back to the right place