this is the only place that's not needed, as mediaTitle is taken from fileKey above. All other places have .replace() implemented and it's working fine.  Thanks for the suggestion!