Fixes issue in file for loading the books database