reverted work on socket input to file input to have a working submission.