def newFile(filename, content=''):
    """
    overpython.newFile(filename, content="")
    
    Create a new file, if no content is provided. Then it'll create the file
    without any content. Raises FileExistsError if it exists.

    On the other hand, if the file exists and the content argument is not "",
    then it'll automatically overwrite that file.
    """
    if content == '':
        try:
            f = open(filename, 'x')
            f.close()
        except FileExistsError:
            raise FileExistsError('File already exists (%s)' % filename)
    else:
        f = open(filename, 'w+')
        f.write(content)
        f.close()
