XMLLoader creates resource from each element within files