Fixing problem with file list being in reverse order.