reset the file