Deactivate some code in fileobject

Did not yet figure out what would be the right thing to do
here.