Added namesToFile() to biocore.py