Add support for jpeg file extension