Fix: path.sep should be used to replace relative file name