-d expects a file