Version 0.0.3. Added support for different mime-types