Integrations (PTC products, 3rd party products and code) > 3rd party product integrations (CM, DOORS, Rose, Simulink and XML) > Configuration management tool integration > Typical lifecycle of a model stored in a CM tool (CM tool integration) > Files created in the CM tool (CM tool integration)
  
Files created in the CM tool (CM tool integration)
Two files are created for each Model or Package you check in.
For the Model:
An MDF file is created. The MDF file stores the items that are scoped by the Model. The name of the MDF file is derived as follows (each invalid character, including spaces, is replaced with an underscore):
<model name>_<model id>.mdf
An IDF file is created. The IDF file is used as a look up for the MDF file. If you open the IDF file in a text editor, you will see the name of the associated Model. The name of the IDF file is derived as follows:
<model id>.idf
For each Package:
A PKF file is created. The PKF file stores the Package and the items that are scoped by the Package. The name of a PKF file is derived as follows (each invalid character, including spaces, is replaced with an underscore):
<full package name>_<package id>.pkf
Note: If the full name of the Package exceeds 128 characters, the name of the PKF file is truncated leaving the rightmost characters.
An IDF file is created. The IDF file is used as a look up for the PKF file. If you open the IDF file in a text editor, you will see the name of the associated Package. The name of the IDF file is derived as follows.
<package id>.idf
When applying access rights to CM tool files, you apply those rights to the MDF and PKF files. It is not necessary to apply access rights to the IDF files.
Note: You can determine the id of the Model or Package through the id property.
Important: MDF and PKF files will be automatically renamed when they are checked in using Microsoft Visual SourceSafe. For other CM tools, the new naming convention will apply only to new Models and Packages that are checked in.
Files in the ModelerATFiles Model folder
Within the ModelerATFiles folder, a subfolder is created for each version of each Modeler Model. The Model folder is used to store files associated with the Model.
When you perform a get latest, check in or check out operation on a Model, the operation also applies to any files residing in the Model's ModelerATFiles Model folder. This means that if you want to change one of these files, you can check out the Model to make the files editable. Alternatively, if you change these files through their associated add-ins, the add-in will check out and check in the files as necessary.
Note: The file date and time stamp of the template.txt file is updated each time a get or check out operation is performed on it.
The CM tool may not record the destination folder for each file it stores. This is not a problem when performing check in and check out operations from Modeler, but if you want to check out ModelerATFiles files (non PKF, MDF and IDF files) through the CM tool, you will have to specify the destination folder.
To determine a Model's ModelerATFiles folder:
1. In Modeler, open the model.
2. Open the Model's Property Pages (you can select the Model in the Packages pane).
3. Click the Text tab.
4. In the drop-down list, select Id
5. Copy the value of the Id to the Clipboard.
6. On the Model's server, user Windows Explorer to search the ModelerATFiles folder for the Id you copied to the Clipboard. If you installed Modeler to the default location, the path of the ModelerATFiles folder is C:\ProgramData\PTC Integrity Modeler\ModelerATFiles.
The folder you find is the model's ModelerATFiles folder.