changed validation in validates filename match regexp