Utility for adding a note (text) to a file