#!/usr/bin/python
#-*- coding: utf-8 -*-
import os
import codecs
import time

from sys import *

__trim_ext_array__ = (“php”, “js”)

def trimBom(filename):