Creates an text file from a JSON array or object in the state.
{ "sampleKey": "folder1/folder2/yourFile.txt" }