Moves files into directories by means of the file extension