init new file struct in jpeg.