/// <summary>
        /// Creates the SQL*Plus command that can be executed in SQL*Plus command-line.
        /// </summary>
        /// <param name="environment">Name of environment to execute in.</param>
        /// <param name="file">SQL file to execute.</param>
        /// <returns>The SQL*Plus command to be executed.</returns>
        private string CreateSQLPlusCommand(string environment, string file)
        {
            if (!File.Exists(file))
            {
                throw new FileNotFound("File doesn't exist");
            }

            List <object> connectionInfo = this.QueryEnvironmentConnectionInformation(environment);

            this.EnvDBName = connectionInfo[2].ToString();
            return(OracleDatabase.CreateCommandHelper(
                       connectionInfo[0].ToString(),
                       connectionInfo[1].ToString(),
                       connectionInfo[2].ToString(),
                       connectionInfo[3].ToString(),
                       connectionInfo[4].ToString(),
                       file));
        }