And also, close the file descriptor and print a message.