yes u can include Path Helper in your controller file:
$ this-> load-> helper (array ('path'));
then upload the file using the file() function:
$ this-> load-> file ('your_folder / your_file.php');
Notice that your_file.php is located in the root directory of your_folder .
source share