Single file (not a directory) argument was not working