Edited files for loop