rename files with correct spi_scope number