update loadpath implement file loading