Repair MediaFile crash