added test for non-existant original file
moved original image reading and thumbnail image reading into val
slight documentation change