Fix init of filename var