Long term logging with micro SD into different files

I can't offer much help, but notice you did not disclose the most critical information: How often do you record and How much data in each record.

Paul