file pointer based Input/Output functions
