.fopen

.fopen handle, filename

This opens the file specified by filename and creates a file handle which can be used to perform any of the below file operations with.