Added some logging to the file repo.