# SourceCodeFile<!-- -->

Represents a single file in the Actor's source code.

## Index[](#Index)

### Properties

* [content](https://docs.apify.com/api/client/python/reference/class/SourceCodeFile.md#content)
* [format](https://docs.apify.com/api/client/python/reference/class/SourceCodeFile.md#format)
* [model_config](https://docs.apify.com/api/client/python/reference/class/SourceCodeFile.md#model_config)
* [name](https://docs.apify.com/api/client/python/reference/class/SourceCodeFile.md#name)

## Properties<!-- -->[](#Properties)

### [](#content)content

content: str | None

The contents of the file. Interpreted based on the value of `format`.

### [](#format)format

format: [SourceCodeFileFormat](https://docs.apify.com/api/client/python/reference.md#SourceCodeFileFormat) | None

Format of the file's content, `TEXT` for plain text and `BASE64` for encoded content.

### [](#model_config)model_config

model_config: Undefined

### [](#name)name

name: str

The path of the file relative to the Actor's root directory.
