Is it necessary to wait for both files?