Added check for input, currently only File by checking config variable. and added check to see if there is any input method found