view.txt to view.c