parse single file