--- title: "Data File Support" slug: "data-file-support" updated: 2024-06-12T08:17:17Z canonical: "support.dise.com/data-file-support" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.dise.com/llms.txt > Use this file to discover all available pages before exploring further. # Data File Support Bundle a data file with a Dise movie so the player can access it. Most datafiles are supported including .json and .txt files. 1. Create a text file and save it in **C:\DISEContent\Content.** 2. Create a script file pointing to the file and save it in **C:\DISEContent\Content.** **Example:** ``` #pragma language Python.AXScript.2 filename = DISEScript.GetVariable("File") DISEScript.Log("filename " + filename) f = open(filename, "r") contents = f.read() message = "Message is " + contents DISEScript.Log(message) DISEScript.SetVariable("Message", message) ``` 3. In Composer, go to Movie > Edit variables: ![](https://cdn.document360.io/b18b81f9-f0ab-453e-8933-1b71091f98f7/Images/Documentation/image-1693912149902.png?sv=2026-02-06&spr=https&st=2026-11-12T18%3A12%3A52Z&se=2026-11-12T19%3A12%3A52Z&sr=c&sp=r&sig=kTuKXcUh0fFLX%2BuVE3sjFFhOYSD2MiE6FI39kGKI2dg%3D) 4. Add a new variable: a. Add a name. b. Select type 'File'. c. Browse to the text file. 5. Add a new variable: a. Add a name b. Select type 'Text'. 6. Insert a text object 7. Right click text object and select Connect property > Text / filename 8. Select the variable “Message” from the list and click Ok. 9. Go to Movie > Edit scripts 10. Under Load scripts click Add and browse to your script file. then click Ok 11. Save and upload your template ## Related - [Dise Methods Library](/dise-methods-library.md) - [Global Variables](/global-variables.md) - [Contexts](/contexts.md)