removes functions file