in reply to Bareword "FILE" not allowed while "strict subs"

Try restore_parameters(*FILE);

Update: Adding local *FILE; as the first line of the function will protect you from accidently clobbering any other symbols, and will make sure the file gets closed at the end of the block.