process dirrctories and files as seperate options
indentation error processing directories