Added the --datfile option, as suggested in issue #19