Links a parent file to a child file by adding a special comment to the child file.
The comment contains the relative path from the child to the parent.
If the child file already has a parent, the function will replace the existing parent.
If the child file has multiple parents, the function will return an error.