'Import a pocfile / multiple pocs from a directory'

def import_poc_dir(self, pocdir=None):

    if (pocdir and os.path.isdir(pocdir)):
        for fname in os.listdir(pocdir):
            fname = os.path.join(pocdir, fname)
            self.import_poc(fname)
