Gitlab::Diff::Position.position_type can be "file", so this needs to support the "file" position type.