when rendering file names, regex was broken when directory path contains pluses.