Pass file as arg to command
fix bad arguments