That will cause it to always report aborted, no? We iterate until we can't open any file anymore.