I have to answer this question as an exercise.
Sample input: No sample, just trying to select and filter files using Unix shell according to some conditions<