version 4

Added output result to text file format