pub fn to_files( route: route.Route, ) -> promise.Promise(Result(List(#(String, BitArray)), snag.Snag))