delete sequences after writing to file, add time statistics