fixed file pointers