Close tile file descriptor after reading from it