Create write_flp.m