Basically the final version. There is just some text missing from the initial textfile that is displayed and the outputting right at the end must be modified (add empty lines).