PHP that creates a table and uploads data for a given GSM file