use AMD load for each file