improve file specific mappings