Not finding what you are looking for? Request a recipe!
The solution is actually rather simple, simply create a HASH() of the input string and then format it so that it is a valid CF UUID.
Since you are already using a database table to store the file information, the solution is actually pretty simple. You store a unique identifier (say the file name 'test') in one column and the file name ('test.rtf' or 'test.doc') in another. The href has the identifier, not the file name.