More name->filename
Pass filename to static, not deps object
Make sure we keep resolving until all assets are processed.

Otherwise, we may omit assets which are not depended upon
Add more tests