deal with static files