Update demo to use asarray() for FileList iteration

Mainly as a demo of https://github.com/deathcap/asarray, no real purpose
otherwise. Possibly slower too, but shouldn't matter much since this is
not in a performance-critical code path, and is it arguably cleaner.
Minor cleanup