Adding dir creation so can download xml file