small changes to corpus reading file