if specified file is not in pkg.files, then find it in pkg.dependencies
update hist