fixed errors with utf 8 encoding, but now there is and error in deleting a directory that is part of current iPad directory path.