load permfiles as matrices