restructured add to get proc file in parent dir