<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`BasesView`](BasesView) › [`createFileForView`](BasesView/createFileForView) ## BasesView.createFileForView() method Display the new note menu for a file with the provided filename and optionally a function to modify the frontmatter. 1.10.2 **Signature:** ```typescript createFileForView(baseFileName?: string, frontmatterProcessor?: (frontmatter: any) => void): Promise<void>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>baseFileName</code> | <code>string</code> | _(Optional)_ | | <code>frontmatterProcessor</code> | <code>(frontmatter: any) =&gt; void</code> | _(Optional)_ | **Returns:** `Promise<void>`