array operations with FileList must be more robust now