less memory leaks
added files_n to struct lsit
manage multi dir