implemented filename argument to visualize()