Properly protect already-allocated file list