renamed io to inout to avoid nameclash
output omt filename
'omt' prompt only added to first line of multiline output
tweaking output