A file - upload tool with ajax