Add ParseFile and PrintData methods