Move files array into correct scope.
Edit the images step-by-step, no copying before edits.