database allFile function added