Like other JavaScript operations file handling is also done using objects


Like other JavaScript operations, file handling is also done using objects. LiveWire provides a file object and you create new objects for each file you want to use.
If you need to use file files, then create a new file object for each one.Use the standard syntax in creating file objects:
fileObjectName = new File(“path”)