file descriptor and automatic variable