sep classes in sep files and more line ending fix