updates parser to parse multiple files at once