fopen likely doesn't return === false. It probably returns 0 or something