conform output format to specification
swap test000[23].txt