This file object method will open the file so the script is able to manipulate records within the chosen file. If you manually open a file, make sure you have a following close when you're finished with the file.
You only need to use open if you have defined your file with 'userOpen' as true.
...