feat: automatically detect file type on upload file selection
Changes the upload file dialog to automatically detect the file type of the selected file and set the required settings. Also analyzes files in a zip archive and sets the file type accordingly. If the file type or format can not be detected, an error message is shown.