Split up the different file extensions