There's tons of ways to read a file. I prefer [man]file[/man] (for an array) or [man]readfile[/man] (for a string). Both of those will read the entire file without a handle.
To write though, you need a handle, which means you first [man]fopen[/man], then [man]fwrite[/man], then [man]fclose[/man].