Save data by FileInputStream