read this example

http://www.roseindia.net/j2me/read-file.shtml

it is your problem?

But I propose to you, formulate requrements to your application, after that you will not have problem to identify the best tool to manage data.