# FileName(string, string, string)

> The file name a table is stored under, with characters invalid in a file name replaced.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Localization.Providers.FileTables](/engine/6000.7/script-reference/unity/localization/providers/filetables.md)
* **Assembly:** UnityEngine.LocalizationRuntimeModule

```csharp
public static string FileName(string collectionName, string localeCode, string extension)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The collection name.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The locale code.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The file extension without the leading dot.

### Returns

| Type                                                           | Description                              |
| -------------------------------------------------------------- | ---------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The file name the table is stored under. |

### Remarks

The form is `{collectionName}_{localeCode}.{extension}`. The locale code is lowercased, so a table authored as `pt-BR` and a locale requesting `pt-br` resolve to the same file on case-sensitive file systems.
