flesh out the logic for the HTD file name, print as test