Walks a directory and compiles a JSON dictionary of all assets/files in the directory.