removed  file flush