file_extract.c - lessen header dependencies