 <p>You never define <code>data_from_file</code>, you just try to read from it in the <code>contects_from_file</code> method.</p> <p>Perhaps you meant <code>numbers_from_file</code> instead of <code>data_from_file</code>?</p>