Filling out unit tests
Refactoring ReferralBatchFetcher
Strengthening LocalFilePreparer to permissions and i/o exceptions
Adding exceptions