pub fn read_file_input(input: Option<&Path>) -> Result<Vec<u8>>
Reads data from a file path or from stdin if the path is not provided.
Returns a std::io::Error on failure.
std::io::Error