Added an option to choose whether or not the file load func is lazy.