Written bulk loader function