add to get-prefix-and-sefix-files error handling