Create a file with printf command