wrote parser function, added sample file