Photon Impact Studies of Molecules Using a Mass Spectrometer