implemented file & form parsing