Added sanity check to single file removal from media store.