convert absolute path to relative path