Add cleanUpTemporaryDirectoryContent function in both android and ios, in order to delete temp files