add fif IO for epochs bookkeeping