change ensure present to ensure file