#!/usr/bin/env python3
import sys, os
dirname = sys.argv[1]
fname = os.path.join(dirname, 'file.txt')
os.makedirs(dirname, exist_ok=True)
open(fname, 'w').close()