Added file load to ldmatrix