Added constructor to set filename