I disagree here. The file would still be defining one symbol in the global namespace. It seems silly to create an object to hold just a single function.