code: def file_flags(self, _file_flags):
          
          if not self._ptr:
              raise BfdException("BFD not initialized")
  
          return _bfd.set_file_flags(self._ptr, _file_flags)
docs: Set the new file flags attribute of the BFD file being processed.