Add tofile and tolist utility functions

New utility functions added to begin.utils for use with begin.convert.
The utilities enable converstion of strings to file objects and lists.
Closes #21.