In table documentos are the documents stored and in table categorias are the subfolders, first I make a table to see if there are documents, then I consult table g to find o