Fix the one microtask per fileName bug