pub(crate) fn split_path_into_dir_and_file_name<'a>(
    path: &'a Path
) -> Result<(&'a Path, &'a str), Error>