Add 'file' to types not to inspect

By adding 'file' to the list of interesting items, some cases where files not opened for reading causing an IOError can be avoided.