creating a file by name of argv[1] programmatically