added support for validation file check to deep_neural_net_cuda.py