cleaning up

should add a test to see if input files are utf-8 with unix newlines