Creates tree of objects from a collection of file paths