validate_filename (npm): Validate the file and folder names
Keywords: check|validate|filename|pathname