Use the file extension (simple) or the magic bytes of the file type (better) by configuring are custom file type, it those file types are not already supported.