Small charng.
Adding posibility of reading input parameters from file and writting output result to file.