quick browsing of files is now possible by adding a reset procedure when reading a new file