type should be a file rather than str; argparse then makes validation of file existence + opens it for you automatically