create default filename if there is none specified
pull strings out of function calls