Solve problem with too many parameters in inspect.

A simple solution. Just remove the `file` parameter, which isn't used
anywhere.