Write and read file for all micro controller