code: def _testfile(fname, resize=False):
      start = time.time()
      n = Nude(fname)
      if resize:
          n.resize(maxheight=800, maxwidth=600)
      n.parse()
      totaltime = int(math.ceil(time.time() - start))
      size = str(n.height) + "x" + str(n.width)
      return (fname, n.result, totaltime, size, n.message)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import copy
  import math
  import time
  from io import IOBase
  from PIL import Image
  from skin_classifier import skin_classifier, Skin
label_desc: Use image node_id 2 for calling a global function with example usage: _testfile(fname, resize) and returns: fname,  n,  totaltime,  size,  n