example network that uses modified hinge and accuracy with files