code: def action(self, relationship):
          
          action_obj = FileAction(self._indicator_data.get('xid'), relationship)
          self._file_actions.append(action_obj)
          return action_obj
docs: Add a File Action.