Flash file system

I am working on a device that needs to store state between power cycles. At the moment its just a few bytes but it might expand to a few hundred in the future. I was considering creating a filesystem in FLASH and reading my state information from a file.

My question:
Can you re-set up a filesystem over a power cycle and read a file was was previously created?

I am working with a 3500.

I am hoping that someone has some samples for this or perhaps just a list of function names I can start using help on.


Opps! I posted a little bit early. No sonner did I post but I found a bunch of samples that I think will do what I need.