allow user to specify filename