abstract fun file(file: Provider<File>): Provider<RegularFile>
Creates a RegularFile provider whose location is calculated from the given Provider.