Perform correctly when one or more files aren't loaded. Fixes #21 and fixes #26