can pass a directory in argument