add rootFolder in front of relative paths