removed closure from files