Dcc.dowload for mdf and h5 files

Hello,

I’m struggling to use dcc.download.
So I input my app with a mdf file (*.mf4). Then, I do some post-processing and create new signals that are added to the same *.mf4. To allow the user to analyze the data, I’m trying to use dcc.download to download the new *.mf4.

I went through quite some documentations (included dcc.Download help) but I can find the right way to download mdf file.

Could anybody help me with this? and/or give me an example for *.mf4?
(I’m also looking to download *.h5 files)

Thanks.