Strip it to the parent file if wildcard