Importing affinity files.