problem with "frozen" solved

recoverImages.rb:32:in `initialize': can't modify frozen String (RuntimeError)
	from recoverImages.rb:342:in `new'
	from recoverImages.rb:342:in `<main>'