On 'save' menu entry check to see if fileformat is a valid output format and open...