unlock file pointer