moved setFilName from static method to classical