Writeline functionality in trasIO, commenting and corresponding changes to grep process