Consider directories as part of path mappings.