Added flush method for #File