Add error checking to file open
Add error checking to file open

LyonsLab/coge,LyonsLab/coge,LyonsLab/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,asherkhb/coge,asherkhb/coge,LyonsLab/coge,asherkhb/coge,LyonsLab/coge