use close! instead unlink