usefull are file and directory Reader and FilenamePartExtractor.
Then fanned out writing of your shapes.
Either concatenate fanout attribute or use fan out for filename and fanout in navigator.
I have the the fanout Dataset active. This is where each SHP is assigned the name of the of the file based on attribute of the CVS file.
I split the FME_Dataset and concatenated to be at the fanout directory.
@Value(_listPathFile{0})\\@Value(_listPathFile{1})\\@Value(_listPathFile{2})\\@Value(_listPathFile{3})\\@Value(_listPathFile{4})\\@Value(_listPathFile{5})\\@Value(_listPathFile{6})\\
but it does not work.
Expose the fme_dataset, connect a FilenamePartExtractor (you only need the _dirname)
On the writer feature type set the shapefile name to the attribute from the CSV file.
On the writer parameters set the Destination Esri Shaepfile Folder to your root Directory.
Set Fanout Dataset to Yes and the Fanout Expression to @Value(_dirname)