Extract relation inclusions and extensions to separate files