notes manager: added option to print filename

useful for piping, head/tail etc.