put files in appropriate folders