Implementing a database-like storage system with CSV files