File handling (read/write files, CSV, JSON)