Interface to C file/magic library
