Wasn't sure what the (sexp) part was, and tried to switch out file+headline to function (got invalid function), but with the help of the second link I got it working, thanks!​