Implemeted delete-file, get-file-list, and fixed errors