got most things working, got unrecog error working
changed file types to unix so unix newlines are recognized