A base lib of c file operations.