File upload, convert to tree - PHP/MySQL/jsTree

IN PROGRESS
Bids
16
Avg Bid (USD)
$302
Project Budget (USD)
$250 - $750

Project Description:
I need a script that deals with the following:

- file upload (only txt files)
- Takes the uploaded file, and converts it to a tree
-- the uploaded file has about 100K+ lines, each line indented so example (where the + are tabs):

Root
+ Category
++ File 1
+++ Sub Cat
++++ File 4
++++ File 5
++ File 2
+ Category 2
++ SubCategory 1
+++ File 1
++ SubCategory 2

I need to be able to take each line, in the order it's given, and insert it into the database with the following schema: tree (`parent_id`, `position`, `left`, `right`, `level`, `title`, `type` ) (where the table is the jsTree table). So when it's inserted into the table and jsTree renders it on the site, the file that was uploaded is exactly what looks like on the site.

I also attached an example text file.

Skills required:
jQuery / Prototype, MySQL, PHP
Additional Files: file.txt
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 350
in 5 days
$ 250
in 2 days
Hire Zuprem
$ 250
in 3 days
$ 300
in 2 days
$ 250
in 3 days
$ 275
in 2 days
Hire kikoqiu
$ 250
in 2 days
$ 250
in 1 days
$ 250
in 3 days
Hire YflJ308GU
$ 750
in 1 days