Fix personalization of file data

aliasMap was using out-of-date indexes into aliases array. Need to refactor this.