USE_PORT
if (action != USE_PORT || file->fp == NULL)
if (action == USE_PORT &&
case USE_PORT:
int action = USE_PORT;