reordered the loops in adding files and removed files added

hopefully this version will be faster but i just got myself banned as i
set the anidb password wrong