added message to getfilepath() assert