disable FileObject