The CutDirsMapper strips a configured number of leading directories from the source file name.
CutDirsMapper
<mapper type="cutdirs" to="1"/>
The mapper as above will do the following mappings:
Table F.5: Result of mapping
foo/bar/A.txt