added splitting and parsing code for files like 018