Initialize file pointer