cpp: add relative path to file info