added choosing file links via configuration options.