changes to pass dependencies needed to be able to preload a file. so now a file is not preloaded before it s dependencies.