# AddFileWithContents(string)

> Adds a new file that will have string contents.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Android](/engine/6000.0/script-reference/unityeditor/android.md)
* **Assembly:** UnityEditor.Android.Extensions

```csharp
public void AddFileWithContents(string path)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)):&#x20;
