write file to external storage Tutorials