Working on cf extended and added write data to file