Reorder keywords to avoid compilter warnings.
Avoid warning from compiler about empty if block.
Correct if block, only update neighbour->next_neighbour_update when the if-test is true.  Avoid compiler warning.
Correct test of FILE value.  Get rid of compiler warning.