Add datatypes to api and connect with file type selector of the upload front end