scan document and convert to text