Write to sd using one line format