file input

correct errors