FileSystem / FileWriter API Sample