Changed output format of file to include sequenceNo