recognize jpeg alongside jpg