move parse_file to forms.py