Normalise file