let mut current_dir = env::current_dir().unwrap();
current_dir.push("sub_dir_one");
current_dir.push("sub_dir_two");
create_dir_all(¤t_dir).unwrap();
current_dir.push(format!("filename_{}.json", SystemTime::now().duration_since(SystemTime::UNIX_EPOCH).unwrap().as_secs()));
let mut new_file = File::create(current_dir).unwrap();
new_file.write_all("content").unwrap().as_bytes()).unwrap();