ordered closure of reader for normalize.cpp