add tofile method to Sent and Vocab