Add support for loading mtx files.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>