Inspecting files and directories