Reading net from file. Saving net to file.