Exporting replaced filename without the baseDir