fixed "ensure => file"