testing for available device storage in getStorage() now and returning null if none exists