Moved parse_directory function to krio.py file.