Add possibility to provide a custom magic-file