Initial support for DM3 files only. No error handling.