detects and parses new file format