Set the options correctly in this case. This happens with some .ts files for example.
Attach a file by drag & drop or click to upload