fix: do not add path twice to file name