added flush to RawFile
commented unittest back in