Tested and working. Deleting files is still having trouble.