Flushing results file