pub fn generic_open_file(filename: &str) -> (usize, bool, Box<dyn Read + Send>)