added long_opt , options basename and suffix