fromFile

fun fromFile(file: MPPFile): MultipartFile

Creates MultipartFile based on incoming MPPFile (common File in java, for example)