funciont added in fileDAO