pub fn read_uri(uri: Option<&String>) -> Result<String>
helper method to fetch uri from Option<String> either as a file or read from stdin
Option<String>