added catch block to handle if chunk size input is cancelled