Add SLEEP and synchronization primitives to the loadfiles.