added automatic table creation from files in a folder