why is that better than passing the filename by argument?