remove any existing chunks when reading the file. fixes #4