It is impossible to add mineType while choosing a file. I checked there is a FileType class but there is no example regarding this.