Now succesfully writes the generated trace history to a .txt file.
Fixed a minor text-mistake.