for($first_file; $first_file<=$last_file;$first_file++) { push @FILES, $file->($files_exist[$first_file]); }