Yes, thats easy but what didnīt you know then ?
You can read/write textlines or binary code to files, create+rename+delete them easily. Yust look for fileaccess in the web.