moving files to the correct folder