Add file picker HTML file.
Include file metadata in JSON.
Extract and generalise tree generation method.
Rough skeleton for material file picker.
Use a hash to keep track of selected items.
Add logic to parse hash and return it to callback when done.
Add initialization callback for file picker.
Handle select/deselection of nodes.