Cleans up a folder by putting files into a folder depending of the extension of each folder