changed: Pattern class has been split into two classes: Pattern and PatternParser in Pattern we have only the tree in PatternParser there is the whole logic used to parse a file