file encoder

opens a file where each line is a new message; counts each line; indexes each line; and removes spaces, punctuation, and etc.