def get_path(self, prefix=None, filename=None):
        """Compose data location path."""
        prefix = prefix or settings.FLOW_EXECUTOR['DATA_DIR']

        path = os.path.join(prefix, self.subpath)
        if filename:
            path = os.path.join(path, filename)

        return path
Compose data location path.