Fix templates not working under XS 5.2 and 5.3
by replacing AspNetFile tags with more generic File tags