let write_file ?perm ?append file ?header alignments = Writer.with_file ?perm ?append file ~f:(fun w -> write w ?header alignments )