changed filepackage store and delete method