# How is the Service Optimization Files Infonamed query defined?

The Service Optimization Files Info named query is located in XoomCustom.xml (typically here: C:\Program Files (x86)\Zany Ants\Xoom and is therefore customisable. It is defined as follows:

```<xpi:query name="Service Optimization Files Info">
<Files>
<File base-directory="? \${Product.W6.BinDirectory}" filter="*.dll;*.exe"/>
<File base-directory="? \${Product.W6.RootDirectory} + '/Web'" recursive="true" exclude-path="/Log"/>
</Files>
</xpi:query>```
Each <File> element instructs Xoom to retrieve information on files. The <File> element takes the following attributes:
• base-directory (required) specifies the base-directory in which the files are located. It can take the value of a path, or if it begins with a question mark followed by a space, a ZanyScript expression, as here. Both Product.W6.BinDirectory and Product.W6.RootDirectory are calculated parameters.
• filter specifies a filter that will be applied to the retrieval. In the first <File> element, only files with .dll and .exe extensions will be retrieved.
• recursive specifies whether files should be retrieved from sub-folders. It takes the values true/false and defaults to false.
• exclude-path specifies any paths within the base-directory that should be excluded.

So, the first <File> element specifies that Xoom should retrieve information on all files with .dll or .exe extensions from C:\Program Files (x86)\ClickSoftware\Service Optimization\bin.

The second <File> element specifies that Xoom should retrieve information on all files from C:\Program Files (x86)\ClickSoftware\Service Optimization\Web and recursively from its subfolders, with the exception of log files.