save filesize in db