successfully write and read the file attributes in the first page