One doesn't "get into" Hal's brain via a text file per se, but rather one can use the Brain Editor to view / edit various tables and entries as well as the basic brain script file.
Before so doing, make a backup of the Halbrain file as accidents within the brain seem to be a common reason of Hal not working properly later.