File mapping rules