First go at inspectFile method.