pub fn path_exists(filename: &str) -> bool