working chardev without waitqueues
works, needs waitqueues, needs to filter unimportant files