Filehandler update

- newChar
- verified integrity of updateDirectory function