I had tested with the code to add fileinfo with the same file name multiple times. If we use onerror, it is also called multiple times but with one onabort. That's why I change the code here. I will redo the test and check the doc to find out which one is correct.