fix the extract file function