use std::fs::File;

fn main() -> std::io::Result<()> {
    let file = File::open("example.txt")?;
    println!("File opened successfully!");
    Ok(())
}