File extensions validator