remove old files, error checks server side, reset