Fixed wc crashing because of null for not-existing file