Make sure path data is relative to current file