Fix calling repository api from parser file reader