e.g. https://github.com/msmexplorer/msmexplorer/pull/11 This could be broken up into a utilities module that exports to different file types?