added dashes to allowed filename regexp