basic parsing of folders