#1261: If the filename is an actual filename, the filename in the uri should match it.
#1261: Add union to catch files that are attached to group nodes but have no spaces info.