This way file access isn't interleaved and all dependencies of one file are reported before moving to the next.