String input now accepted in addition to plain text files.