Call `on_finished` callback with no parameters when parsing a file