<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _ProcessMetadataFile(self, mediator, file_entry):
 """Processes a metadata file. Args: mediator (ParserMediator):
 mediates the interactions between parsers and other components, such as storage and abort signals. file_entry (dfvfs.FileEntry):
 file entry of the metadata file. """

    self.processing_status = definitions.STATUS_INDICATOR_EXTRACTING

    self._event_extractor.ParseFileEntryMetadata(mediator, file_entry)
    for data_stream in file_entry.data_streams:
      if self._abort:
        break
      self.last_activity_timestamp = time.time()

      self._event_extractor.ParseMetadataFile(
          mediator, file_entry, data_stream.name)