FileIO and mystery bug fix

There was a typo in one files.