main:  replace hard coded filename by filename from file