added provided constructor taking single parameter of 'filename'