Read write operation of file

I have to do read and write operation in lightning. If it support could please give some information.

Lightning runs in a web browser and you can use any storage methods available in a browser - Storage - Web APIs | MDN

Please note browsers don’t natively have access to the file system. So you can’t read or write to files. You’ll need to pass information in and out via network fetch.