Move each files to appropriate directories