allow for a heirarchy of input files