added debug statement to check the db for correct filesize