Moving on files based on XML rules