Rewrote path_exists?