Remove the TTY file when read
Reorganize stuff a bit better