Raise an exception when a file has no parents, but parent usage is requested.