file-associations: extracted duplication