char process from a file