You can solve this issue and the right data type for a destination in argpasrse module is a string. So, to solve the issue you need to pass a string in the arguments.
Below is the code for the same:-
parser.add_argument('-f', dest="file", type=string)
To know more about this you can have a look at the following video:-