Validate the inputs taken for input file creation.