Validator to avoid loading files with name more than 50 chars