pass the magic-file parameter around the module functions