improve static file lookup performance