'Initialize the filesrc element with the next file to be analyzed.'

def _set_file(self):

    if (len(self._files) == 0):
        return False
    self._file = self._files.pop(0)
    self._decbin.unlink(self._conv)
    self._decbin.set_state(self.Gst.State.READY)
    self._src.set_state(self.Gst.State.READY)
    self._src.set_property('location', py3_path(syspath(self._file.path)))
    self._src.sync_state_with_parent()
    self._src.get_state(self.Gst.CLOCK_TIME_NONE)
    self._decbin.sync_state_with_parent()
    self._decbin.get_state(self.Gst.CLOCK_TIME_NONE)
    return True
