In order to get the FilePath for Custom S3 Wrapper dynamically, I would use [interpolation variables](https://community.denodo.com/docs/html/browse/latest/en/vdp/administration/creating_data_sources_and_base_views/path_types_in_virtual_dataport/path_types_in_virtual_dataport#paths-and-other-values-with-interpolation-variables) in the path of the base view. By using the interpolation variable, you do not have to provide the final path value when creating the base view. Instead, the values of the path parameter will be provided at runtime.
You can have a look at the section **Extending capabilities with the DFSListFilesWrapper** of the [Denodo Distributed File System Custom Wrapper](https://community.denodo.com/docs/html/document/denodoconnects/8.0/en/Denodo%20Distributed%20File%20System%20Custom%20Wrapper%20-%20User%20Manual#h.kz04u3ofiwz) for more information.
If you still need help and you have a valid support user account, please open a new support case at [Denodo Support site](https://support.denodo.com/) so that our Support Team will assist you.
Hope this helps!