replace kinit method and add result file records limit option