Batch processing time series data using Graph

I am trying to extract NDVI from a time series of Sentinel 2 data using BATCH processing and GRAPH tool.

I was just wondering whether it is possible to add INPUT file name (as a suffix or prefix) to the OUTPUT file (NDVI) while using batch processing and Graph tool?

I can run the NDVI extraction processes for a single file without any issues, where I have the option to specify the output file name correctly.

However, when I run BATCH processing (using multiple files), the output NDVI files are overwritten and getting a SINGLE output file as opposed to generating multiple NDVI files.

I would be really grateful if could share any work around it.