Added recursive search for input files