Changed PackageUse commit function to return filepath.