And text file annotation

Add a convenience method for creating a text file annotation from a string.

cc @colettace