Implemented adding and deleting files.