# FileGrainStorageOptions Properties

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.persistence.filestorage.filegrainstorageoptions/)

## GrainStorageSerializer {#grainstorageserializer-41c33903}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.persistence.filestorage.filegrainstorageoptions/properties/grainstorageserializer-41c33903/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Runtime/Persistence/FileStorage/FileGrainStorageOptions.cs)

```csharp
public IGrainStorageSerializer GrainStorageSerializer
```

Gets or sets the serializer to use for this storage provider.

## RootDirectory {#rootdirectory-c5069854}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.runtime/orleans.persistence.filestorage.filegrainstorageoptions/properties/rootdirectory-c5069854/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Orleans.Runtime/Persistence/FileStorage/FileGrainStorageOptions.cs)

```csharp
public string RootDirectory
```

Gets or sets the directory used to store grain state.
