Waits for files to be downloaded. Fixes #28
Merge pull request #60 from mondras/master

Waits for files to be downloaded. Fixes #28