# IAspireStore.getFileNameWithContent

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Defined on: [IAspireStore](/reference/api/typescript/aspire.hosting/iaspirestore.md)
- Version: `13.3.0`
- Kind: `method`

Gets a deterministic file path for the specified file contents

## Definition

```typescript
interface IAspireStore {
  // ... omitted for brevity
  getFileNameWithContent(
      filenameTemplate: string,
      sourceFilename: string): string;
}
```

## Signature

```typescript
getFileNameWithContent(
    filenameTemplate: string,
    sourceFilename: string): string
```

## Parameters

- `filenameTemplate` (`string`)
- `sourceFilename` (`string`)

## Returns

`string`

## Defined on

- [IAspireStore](/reference/api/typescript/aspire.hosting/iaspirestore.md) -- `interface`
