read in jpg file with menu open option