def create_file_with_license_notice(path: str, file_extension: str) ->None:
    """utility function to create a new file with license notice included"""
    with open('LICENSE_NOTICE', 'r') as file:
        license_notice: str = file.read()
    if 'c' == file_extension or 'cpp' == file_extension:
        from data.new_file.cpp import FILE_CONTENT
    elif 'java' == file_extension:
        from data.new_file.java import FILE_CONTENT
    elif 'js' == file_extension:
        from data.new_file.js import FILE_CONTENT
    else:
        from data.new_file.py import FILE_CONTENT
    FILE_CONTENT = FILE_CONTENT.replace('[NOTICE]', license_notice)
    with open(path, 'w') as file:
        file.write(FILE_CONTENT)
