# How to Include Static Files Functions are blocks of code that run on demand without the need to manage any infrastructure. Develop on your local machine, test your code from the command line (using `doctl`), then deploy to a production namespace or App Platform — no servers required. Node.js, Python, and PHP functions include all the files in their directory when deployed. Functions written in Go must use the [embed package](https://pkg.go.dev/embed) to refer to these files. ## Including Files in Node.js, Python, and PHP By default, all files in a Node.js, Python, or PHP function’s directory are included in the deployed function. These files can be opened and used by the function as you would normally. Use `.ignore` and `.include` files to exclude or include certain files during the build process. You might do this to keep the size down on your deployed function, which can increase cold-start performance. To learn more about `.ignore` and `.include` files, and the entire build process, see the [`.ignore`](https://docs.digitalocean.com/products/functions/reference/build-process/index.html.md#remove-build-artifacts-from-installation-with-ignore) and [`.include`](https://docs.digitalocean.com/products/functions/reference/build-process/index.html.md#select-build-artifacts-for-installation-with-include) sections of the [Build Process Reference](https://docs.digitalocean.com/products/functions/reference/build-process/index.html.md). ## Including Files in Go To include files with your deployed Go function, you must use the [embed package](https://pkg.go.dev/embed). The files to be embedded must be placed in function directory. See [the Go runtime reference](https://docs.digitalocean.com/products/functions/reference/runtimes/go/index.html.md#include-files-in-built-function) for more details and example code.