Compared to the cost of drafting, litigation, etc., the actual filing fee for a patent is a ridiculously small sum of money. If the patent office has the obligation to review a patent with the same attention to detail as the authors themselves, why doesn't it cost tens or hundreds of thousands of dollars to file a patent?