public ParserServiceEntry(ParserService parserService, FileName fileName) { this.parserService = parserService; this.fileName = fileName; this.parser = parserService.CreateParser(fileName); }