Keeps track of file extensions
choose an input directory