How would I open a file for readng/writing?
http://www.php.net/manual/en/function.fopen.php
'r+' - Open for reading and writing; place the file pointer at the beginning of the file.