pass in a string and get a string back

not the best implementation at all but it allows passing in a string representation of a file to operate on and returns it back as a string