# Mff file reading error

**URL:** <https://mne.discourse.group/t/mff-file-reading-error/4807>\
**Category:** Support & Discussions\
**Tags:** eeg\
**Created:** [April 29, 2022, 2:28am UTC](https://mne.discourse.group/t/mff-file-reading-error/4807 "2022-04-29T02:28:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Subrat\_Bastola](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/subrat_bastola/32/1190_2.png) [@Subrat\_Bastola](https://mne.discourse.group/u/Subrat_Bastola)\
**Post date:** [April 29, 2022, 2:28am UTC](https://mne.discourse.group/t/mff-file-reading-error/4807/1 "2022-04-29T02:28:27Z")

</div>

Hi @richard , @mmagnuski  
This is my first time working with an mff file, so I tried loading it the same way I would load a .fif file, however I came across this error.

 ![image](https://global.discourse-cdn.com/free1/uploads/mne/original/2X/a/aec449aba76a46527a5a3e75668805c77bcfaa95.png)  
Howevr, I could open it on Brainstorm with no issue.

Can you tell me how to open this mff file and what could’ve be the problem?

---

<div class="post-metadata">

**Author:** ![agramfort](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@agramfort](https://mne.discourse.group/u/agramfort)\
**Post date:** [April 29, 2022, 6:23am UTC](https://mne.discourse.group/t/mff-file-reading-error/4807/2 "2022-04-29T06:23:17Z")

</div>

can you see if you can read the file with [https://pypi.org/project/mffpy/](https://pypi.org/project/mffpy/)

if not then it suggests the file has a problem

Alex

---

<div class="post-metadata">

**Author:** ![Subrat\_Bastola](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/subrat_bastola/32/1190_2.png) [@Subrat\_Bastola](https://mne.discourse.group/u/Subrat_Bastola)\
**Post date:** [April 29, 2022, 7:05pm UTC](https://mne.discourse.group/t/mff-file-reading-error/4807/3 "2022-04-29T19:05:44Z")

</div>

[https://cookchildrens.sharefile.com/share/view/sef96a95f0b9342bfb452bfdfecfd8d57/fo0c59cd-3498-4fdd-b947-6fae46380408](https://cookchildrens.sharefile.com/share/view/sef96a95f0b9342bfb452bfdfecfd8d57/fo0c59cd-3498-4fdd-b947-6fae46380408)

@agramfort@richard. Here is the link to the file. Could you check if you can open it

---

<div class="post-metadata">

**Author:** ![agramfort](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@agramfort](https://mne.discourse.group/u/agramfort)\
**Post date:** [April 29, 2022, 7:26pm UTC](https://mne.discourse.group/t/mff-file-reading-error/4807/4 "2022-04-29T19:26:01Z")

</div>

have you tried to load the file with mffpy?

Alex

---

<div class="post-metadata">

**Author:** ![Subrat\_Bastola](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/subrat_bastola/32/1190_2.png) [@Subrat\_Bastola](https://mne.discourse.group/u/Subrat_Bastola)\
**Post date:** [April 29, 2022, 7:44pm UTC](https://mne.discourse.group/t/mff-file-reading-error/4807/5 "2022-04-29T19:44:41Z")

</div>

@agramfort the One who sent me this file says he was able to open it with mffpy I could also open it with brainstorm with no problem.

---

<div class="post-metadata">

**Author:** ![Subrat\_Bastola](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/subrat_bastola/32/1190_2.png) [@Subrat\_Bastola](https://mne.discourse.group/u/Subrat_Bastola)\
**Post date:** [April 29, 2022, 9:43pm UTC](https://mne.discourse.group/t/mff-file-reading-error/4807/6 "2022-04-29T21:43:21Z")

</div>

Hi, I was able to get rid of the problem by apparently deleting a \_Events\_8 DINs.xml file
