add current working directory to file with relative path