setup files for spi