The recipe below assumes that your data are in an unchanged xte proposal database structure. This means that you have a directory (usually named for your proposal number) under which you have an FMI file and a
sub-directory for each ObsId (e.g., subdirectories:
10001-01-01-00A
10001-01-01-00
10001-01-01-00Z
10001-01-02-00A
etc.
If you do not have a proposal FMI file, or if you have deleted any of the other index files (FI*), acs, hexte or pca directories under your individual ObsIds directories, the xtefilt recipe will not work for your data! To find out how to remake an FMI file, see the Database Management recipe.
Other directories (e.g., cal, etc.) are not necessary for filter-file production. In addition, if (for reasons of disk space) you have deleted any HEXTE, PCA, or other science data files, you may still safely produce filter files. If the hexte directory itself has been deleted, xtefilt may generate an error message (depending on the circumstances, the program may also crash, but most likely it will just go on to the next type of data, and leave HEXTE housekeeping information out of your filter file).