relax the filename regex to allow spaces and many (but not quite all) other symbols