Code for folder iteration and file to be used as input for naive and
lcss. Running code but has lot files, so running in long time