Code

index_fd(): turn write_object and format_check arguments into one flag