SQL file loader written in PHP