Paths weren't correctly populated
Fixed, added population methods to db.files to populate using the right paths and model