"If file is a string, then the method" . . . .