Add file type detection based on magic values.
Add more comments.
Add more extensions.