pub fn upload_file(
    path_to_file: impl AsRef<Path>
) -> Result<String, Box<dyn Error>>