Validation of plugin file type.