Currently, the only way I know of to delete a file is to select it in the sidebar. With a large number of notes and folders, this can be frustratingly tedious. A much easier way to delete the currently open file would be to open the command bar with ⌘+J, typing "del" for a "Delete current file" command and hitting return to confirm the deletion.