input take from file and check is it a datatype or not