Script was looking for Chef::Provider::File class - made namespace to ruby File