Forgot to change argv to filename when merging BSD and linux versions