DataMapper::Transaction.new(DataMapper.repository(:default).adapter) do |trx|
      if @solution.save
        @solution_generic_file = SolutionGenericFile.new( :solution => @solution,
              :name => input_file[:filename] )
        errors << @solution_generic_file.errors if not @solution_generic_file.save