minor fixes and the creation and consolidation of extension checking
into a subroutine. next step is to create and insert into the list, the
file manipulation functions.