file input for lab2