cant remove file on exception