added reset to reparse the file