Adds configuration option for file extensions.