Supported flushing in file logger