added filename variable