Adding/removing files on disk now correctly add/remove them from the DB