Second when writing data in file