file
fun WriteableRevFileRegistry.file(file: File, contentType: ContentType = ContentType.defaultForFile(file), name: String = file.name): RevisionedFile(source)
Creates a new RevisionedFile from the given file and adds it to this WriteableRevFileRegistry.