generator for npy files updated