new c library tests for file module