Saving data buffer in A&D Storage memory

Greetings, colleagues!

Can anybody send me an example of saving 20Kb data array in nonvolatile memory?

The array looks like:

struct file // Output file struct
{
char name[25];
char data[2000];
};

struct file out_file_mas[MAX_FILE_NUMBER]; //Array of output files

Best Regards!