initialized filename before passing it