flush -> flushFile in doc