Several improvements...now also allowing for configuring a regex to validate that the filenames don't contain silly characters that may cause various problems.