Support .npy files also as input. Also option to exit without saving