Started work on file and directory searching, but it needs a little more thinking... Also, apparently the SPI flash writing stuff is working, but my current chip I'm using has bad bytes, as the magic number is only slightly off. So, what the fuck.