# MGXS File Type Problem

**URL:** <https://openmc.discourse.group/t/mgxs-file-type-problem/5742>\
**Category:** User Support\
**Created:** [August 7, 2025, 5:50pm UTC](https://openmc.discourse.group/t/mgxs-file-type-problem/5742 "2025-08-07T17:50:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![buk](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@buk](https://openmc.discourse.group/u/buk)\
**Post date:** [August 7, 2025, 5:50pm UTC](https://openmc.discourse.group/t/mgxs-file-type-problem/5742/1 "2025-08-07T17:50:23Z")

</div>

I used _dump\_to\_file_ command and created a file in .pkl format. Files in the OpenMC tells me that the command _Library.load\_from\_file_ will be reading my .pkl formatted file. But when I try to do that I face the error of **NOT AN HDF5 FILE.** But the back end files of OpenMC tells me that what I am trying to do is possible. I am really confused can someone please help me?
