def add_file(filename, content)
      return if @sandbox

      filepath = File.join(Configuration.instance.get(:path), filename)
      if File.exist?(filepath)
        puts "File #{filepath} already exists."
        return
      end

      FileUtils.mkdir_p File.dirname(filepath)
      File.open filepath, 'w' do |file|
        file.write content
      end
    end
def add_file(filename, content)
      return if @sandbox

      filepath = File.join(Configuration.instance.get(:path), filename)
      if File.exist?(filepath)
        puts "File #{filepath} already exists."
        return
      end

      FileUtils.mkdir_p File.dirname(filepath)
      File.open filepath, 'w' do |file|
        file.write content
      end
    end
Parses add_file dsl, it adds a new file.

 @param filename [String] file name of newly created file.
 @param content [String] file body of newly created file.