Anyone please help me on how to proceed for reading and writing file in j2me. If anyone can provide sample code then that will be very useful!

Thank you!

Read/write with mobile application is same thing as with traditional Java GUI/command line based application, only difference is that you have limited number of Stream classes. Number of examples can be found with help of Google.
Main issue in I/O operations is locating file from which to read or give direction as where to save the file. Here is example of midlet browsing mobile phone directory tree that I wrote last year