Clean up TFD function and file names.

The function and file names were out of sync and failing on a posix
complaint file system