added public api info
added check for entry existence - we don't want to rewrite the file if no item is removed