parse a string or a file.