initiate user defined input name and handle xz files