Modify absolute path to relative path