allow using a directory in file account spec