pub fn init_reader(
input_file: Option<&Path>,
) -> Result<Box<dyn BufferedReaderWrapper>, Error>Expand description
Initializes the reader based on the input mode (file or stdin) and returns it
The input mode is determined by the presence of the input file path in the config