install file now much smarter