moving the files to the proper group