Add Location interface. Location specifies methods that are common to File and Group, and should aid in constructing a higher-level interface.