The directory callib/src/gen contains a number of subroutines for reading and writing the extensions in FITS format spectral and response files. These are summarized below.
| RDPHA2 | Read a spectrum extension |
| WTPHA2 | Write a spectrum extension |
| RDRMF4 | Read the matrix extension |
| WTRMF4 | Write the matrix extension |
| RDEBD3 | Read the channel boundaries extension |
| WTEBD3 | Write the channel boundaries extension |
| RDARF1 | Read the effective area extension |
| WTARF1 | Write the effective area extension |