Add support for custom line format