Can now retrieve name of weight from file of weights