update doc string on this line and the next; rename to match new parameter names and change "file path" to "open file"