prefix function

Add a prefix or suffix to the basename part of a file path