Add version option
Use argparser built-in file objects