documentation
read specified file during first pass
break on line feeds
clean up
rename buffer from 'x' to 'buf'
remove the call to get supported sizes, because we aren't using that feature