This is an interesting approach to prevent creating new files from bad names. You should also consider the command line tool called detox. This tool is especially useful when you are dealing with entire directories of existing files with bad file names. 