Added important call to setFileName()