Lets say I have a variable called $file and the for loop: for($i=1; $i <= 5; $i++) {}
For each iteration of the for loop, the $i value will be appended to the $file variable name so after the for loop ends, I should have five variables: $file1, $file2, $file3, $file4, and $file5.