Place files in respective folders according to the type of file they are