Probably

'file parameter should be a string'