Don't forget to close the file descriptor.