tools/setup/file_manager.js
function(relativePath, fileContent) {
    const file = setupHelper.setupFolderAbsolutePath() + '/' + relativePath;
    fileContent = fileContent || '';
    return setupHelper.handleShellResponse(shell.exec('echo "' + fileContent + '" > ' + file));
  }
function(relativePath, fileContent) {
    const file = setupHelper.setupFolderAbsolutePath() + '/' + relativePath;
    fileContent = fileContent || '';
    return setupHelper.handleShellResponse(shell.exec('echo "' + fileContent + '" > ' + file));
  }
function ( relativePath , fileContent ) { const file = setupHelper . setupFolderAbsolutePath ( ) + '/' + relativePath ; fileContent = fileContent || '' ; return setupHelper . handleShellResponse ( shell . exec ( 'echo "' + fileContent + '" > ' + file ) ) ; }
Create file inside openST setup environment

@param {string} relativePath - relative file path
@param {string} fileContent - optional file content
Create file inside openST setup environment