Validate input file and print out sorting time upon completion