# How to get name of the file in the consequent filters downstream in the pipeline

**URL:** https://discourse.paraview.org/t/how-to-get-name-of-the-file-in-the-consequent-filters-downstream-in-the-pipeline/15495
**Category:** Development
**Created:** [October 4, 2024, 11:10am UTC](https://discourse.paraview.org/t/how-to-get-name-of-the-file-in-the-consequent-filters-downstream-in-the-pipeline/15495 "2024-10-04T11:10:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![joint](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@joint](https://discourse.paraview.org/u/joint)
#### Post date: [October 4, 2024, 11:10am UTC](https://discourse.paraview.org/t/how-to-get-name-of-the-file-in-the-consequent-filters-downstream-in-the-pipeline/15495/1 "2024-10-04T11:10:16Z")

</div>

Hello!

I have the file that is being read and then is processed by several filters. However, I want to use the original file name in one of the consequent filters to dump some data to relevant file for debug purposes.

However, I am not able to do that.

Logically seems like information should be in vtkInformation

```auto
  vtkInformation* inInfo = inputVector[0]->GetInformationObject(0);
  std::ostringstream stream;
  inInfo->PrintSelf(stream, vtkIndent());
  std::string str = stream.str();

```

But I have not found nothing like the name of the original file.

Thanks
