made files compatible with matlab (mostly)