Adapting file locations.