Parsing EDIFACT files

@gentile you might try something along these lines:

Maybe you could provide us with a few files that would represent the full spectrum of your challenge and also a file showing the expected results.