If file one load succeeded, I will become red

If file two load succeeded, I will become green

If file three load succeeded, I will become blue