Created graph and txt file