write tiny data to file