sub change_ext_if_file { @files = $_; #continuing code left off for this post