def normalize_local_filename(filename):
    """
    Normalizes a local file full path to be used by python os/file io.

    :param filename: File full path.
    :return: Normalized filename.

    """
    prefix = 'file://'
    if filename.startswith(prefix):
        filename = filename.replace(prefix, '')
    return filename
