Normalise metadata out of file