Remove filemagic. Instead, use file extensions.