Path for contact form file

You could put both the form and processing logic in the same file and submit the form to the same page by omitting the action attribute. Check $_POST vars to see if the form has been submitted and do your processing, otherwise display the form.

if( isset( $_POST['somevar'] ) ) :
    // process submission
else :
    // show form
endif;