Line endings and support for matlab files