Because we have no idea how far you have got - and what you have shown us so far is "nowhere at all" - we can;t help you fix specific problems - and while we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you.
So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in!
Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did.
If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide
If you haven't started at all, then I'd start by looking closely at the data you have to store, and working out how the heck I was going to store it, because you need to have some way to recognise one field from the next (the "name" from the "surname" for example) and also each row of data from the next row.
There are a lot of different ways to do that, and I have no idea what you have been taught, so I can't say "do this" and leave you to it. I know how I'd do it, but that's probably not an option for you unless you understand JSON data and how to handle it.
I would string suggest that you use a very similar layout for each of the three files you need to create as that will make your work a lot easier!
When you have data storage worked out, you can start working on storage in your app, and coding to move between the file and your app - but it's pointless to start the other way around as the storage method may well dictate the internal layout to a greater or lesser extent - and you can't test your code until you have data to work with!