Method implementation for DefaultToolFile and ToolFile.