Creating from a directory is probably functional