added test for deleting files. Begun adding chat functionality