try unlink instead of delete