added file struct
added sample input