Delete works now

Contributors: Graeme Peters, Lyndon Quigley
Attempt at using filename instead of note title

It doesn't work with formatted text...