Making sure the f_path exists