Added more versatile SOFT file processing script