read in file to factorie.document