delegate code and opts assurance to File