probably better not to check for exists in case the file does not exist

the error will report wrong path.

if an absolute path was passed then shouldn't be appended/prepended.