def work(*file_names, &block)
            remove_all

            file_names.each do |file_name|
                load(file_name)

                if not block.nil? then
                    execute(&block)
                end

                flush
                remove_all
            end
        end
def work(*file_names, &block)
            remove_all

            file_names.each do |file_name|
                load(file_name)

                if not block.nil? then
                    execute(&block)
                end

                flush
                remove_all
            end
        end
Perform work on a list of XML files

 Perform the following steps:
 #. Remove all loaded XML files without saving them
 #. Load the supplied XML files
 #. Execute the supplied block
 #. Flush all XML files

 @param file_names [Array] Names of the XML files to load
 @yield Block to execute with loaded XML files
 @return [void]