Repairing a damaged startup file