Corrupt GH file fixes? (out of range)

I have a GH file that uses a broken custom component. the component uses variable inputs, but i forgot to use GH_Write and Read to save and set the inputs, so now I’m unable to open the file. I’ve tried to lock the solver before opening, but it still give me the following error:


Grasshopper Event Log 

This document contains the messages that were recorded during the most recent Grasshopper® file read/write. Whenever a read/write operation fails or behaves unexpectedly, this summary will be compiled and put on display. If you experience problems saving or opening files, please include this log with any bug-report you file. You can use the Send... button to mail this report directly, or you can save the log and attach it to a personal email message. This log contains no personal information beyond what you supply, nor any other information that is not directly related to Grasshopper. 

Developer contact  

Message log start (chronological): 

Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')

I’m unable to share the file publically, anyone know of any way to fix this?