make the new oam fuction return the pathname to its output