That would have been Adam who named the fly. God gave Adam dominion and told him to name every creature.
Anon imagines the conversation went something more like,
Adam: If you don't fly off my asshole before I stand up, you'll be seeing and eating shit in all directions.
Fly: Maggot pie?