# Include Calls

<span style="color: rgb(255, 255, 255);">Currently, there is on call to include more JS files</span>

#### <span style="color: rgb(255, 255, 255);">include(String: file)</span>

<span style="color: rgb(255, 255, 255);">Include will execute the file. Useful for adding libraries, keep in mind if the include is requested N times with the same file, it will execute the file N times. The file is relative to the current file.</span>

#### <span style="color: rgb(255, 255, 255);">readBytes(String:file) → byte\[\]</span>

<span style="color: rgb(255, 255, 255);">Reads a binary file and returns a byte\[\]. Example:</span>

```
var myStringVar = new java.lang.String(readBytes("{ds}/binary.dat"));
assertEquals("hello world", myStringVar);
var $aJsonString = new java.lang.String(readBytes("{mds}/somejsonfile.json"));
var jsonObj = JSON.parse($aJsonString);
```

#### <span style="color: rgb(255, 255, 255);">createFolder(String:folder)</span>

<span style="color: rgb(255, 255, 255);">Creates a folder with provide name</span>

---

<span style="color: rgb(255, 255, 255);">Last updated: April 14, 2023</span>

<span style="color: rgb(255, 255, 255);">If you have any feedback on this topic, please contact us at </span>[<span style="color: rgb(255, 255, 255);">documentation@appvance.ai</span>](mailto:documentation@appvance.ai)