Fixes incorrect file name in for loop