file struct and test of the libray