Handle case where no filename or json is given