Read a complete file and Insert it into database using Java