changed the regex for file/dir names