Tidy up file open save gui functions.