adding functions for updating fileInfo and deleting files