Got some I/O functions going.  Using libmagic to snag mime type.