cleaning heirarchy of files to help make sense of this