the file is almost done.