try to implement deleting files.