I\'m writing a program that can get a flag containing 2 chars for example "-c" and a file name or just the file name. I\'m trying to parse the flag and check if it