wait-for-partial-expansions now depends on file-size