--- title: "system.iec61850.readFile" description: "This function downloads remote files from the configured IEC 61850 device to an identified local path." --- # system.iec61850.readFile > This function downloads remote files from the configured IEC 61850 device to an identified local path. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](../../../ignition-modules/vision/vision-project-properties/vision-project-properties.md#vision-permissions-properties) restrictions. ## Syntax `system.iec61850.readFile(deviceName, remoteFilePath, localFilePath)` ### Parameters Type | Parameter | Description ------- | ------- | ------ String| `deviceName` | The name of the configured IEC 61850 device. String| `remoteFilePath` | The remote file path on the server of the file to read. String| `localFilePath` | The local file path on client to store the file contents. ### Returns No return value. ### Scope Gateway, Perspective Session ## Code Examples ```python title="Example #1" # This example reads the file contents from device remote file path. # The read file is stored in the local file path. # Ignition 61850 Device Name device_name = 'IEC61850' # File name you wish to read for the 61850 Device file_name = 'COMFEDE.ced' # Full Path where the file will be read from the 61850 device file_path = '/{0}'.format(file_name) # Full Path where to store your file on your Ignition Gateway local_path = '/usr/local/bin/ignition/COMFEDE/{0}'.format(file_name) system.iec61850.readFile(device_name, file_path, local_path) ```