Added jpg files.
Added a test for opening JPG files.