file pointer prototyping