Set filename variable within class