cleanup functions file