remade with QTreeWidget, fixed tree view; began with file extensions