Fixed switches List not removing Input and Output files from previous loop.