Move files into correct directories