adding functions for updating fileInfo and deleting files
deleteFolder updates