I need to make **$file** equal multiple directories. I've tried an **array**. I've tried **&&** and a couple other things, including the below code, but nothing works. I'm not a pro, but what am I missing here? Can this be done? In the code below I see that the last **$file =** takes priority over the previous **$file =**.

So is there a way I can make $**file** equals multiple paths? 

In short, I want $**file** to consider multiple paths. 

The code probably explains itself what I am trying to achieve. 

		$file = CUSTOM_OPTION_BACKEND_TEMPLATES_PATH . 		'/home/' 			. get_post_meta( $post->ID, '_wp_page_template', true );
		$file = CUSTOM_OPTION_BACKEND_TEMPLATES_PATH . 		'/pages/' 		    . get_post_meta( $post->ID, '_wp_page_template', true );
		$file = CUSTOM_OPTION_BACKEND_TEMPLATES_PATH . 		'/blog/' 			. get_post_meta( $post->ID, '_wp_page_template', true );
		$file = CUSTOM_OPTION_BACKEND_TEMPLATES_PATH . 		'/single-posts/' 	. get_post_meta( $post->ID, '_wp_page_template', true );
		$file = CUSTOM_OPTION_BACKEND_TEMPLATES_PATH . 		'/products/' 		. get_post_meta( $post->ID, '_wp_page_template', true );
		$file = CUSTOM_OPTION_BACKEND_TEMPLATES_PATH . 		'/templates/' 		. get_post_meta( $post->ID, '_wp_page_template', true );
		$file = CUSTOM_OPTION_BACKEND_TEMPLATES_PATH . 		'/products/' 		. get_post_meta( $post->ID, '_wp_page_template', true );


    if ( file_exists( $file ) ) {
    	return $file;
    }